import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';

const project: AppRouteModule = {
  path: '/home',
  name: 'Home',
  component: LAYOUT,
  redirect: '/home/index',
  id: '1',
  meta: {
    hideChildrenInMenu: true,
    orderNo: 1,
    icon: 'material-symbols:home-app-logo',
    title: '主页',
  },
  children: [
    {
      path: 'index',
      name: 'HomeIndexPage',
      id: '1-1',
      component: () => import('/@/views/project/home/index.vue'),
      meta: {
        hideMenu: true,
        title: '主页',
      },
    },
  ],
};

export default project;
